projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f962c0
)
Added diagnostic message when RuntimeError is raised inside XenStore.exists.
author
emellor@ewan
<emellor@ewan>
Thu, 22 Sep 2005 16:50:29 +0000
(17:50 +0100)
committer
emellor@ewan
<emellor@ewan>
Thu, 22 Sep 2005 16:50:29 +0000
(17:50 +0100)
This is one of the first things to be used when xenstored starts up, so a
corrupted filesystem may manifest itself here.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/xenstore/xsnode.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/xenstore/xsnode.py
b/tools/python/xen/xend/xenstore/xsnode.py
index 469ef5f536c738c9ab81212b3c690855adc326ac..817cff757a1bc5b943a0ca7060c47d3a6d87e5a0 100644
(file)
--- a/
tools/python/xen/xend/xenstore/xsnode.py
+++ b/
tools/python/xen/xend/xenstore/xsnode.py
@@
-244,7
+244,9
@@
class XenStore:
if ex.args[0] == errno.ENOENT:
return False
else:
- raise
+ raise RuntimeError(ex.args[0],
+ ex.args[1] +
+ (', in exists(%s)' % (str(path))))
def mkdirs(self, path):
if self.exists(path):